<#--页面主题-->
<#macro pageTheme mark>
	<#if mark == "true">
		<@compress single_line=true>
			<#nested>
		</@compress>
	<#else>
		<#nested>
	</#if>
<script>
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?d7168b0cef9904be9b675a22e48c5721";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
</script>
</#macro>
<#--页面公共头部-->
<#macro header title>
<!DOCTYPE html>
<html>
<head>
<#import "springctx.ftl" as ctx>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<#-- Tell the browser to be responsive to screen width -->
<meta name="keywords" content="PoweredByJ2eeFast"/><meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>${title}</title>
<#-- jQuery 3 -->
<script src="${ctxStatic}/static/libs/jquery.min.js"></script>
<#-- Font Awesome -->
<link rel="stylesheet" href="${ctxStatic}/static/css/font-awesome.min.css"/>
<#-- Ionicons -->
<link rel="stylesheet" href="${ctxStatic}/static/css/Ionicons/css/ionicons.min.css"/>
<#-- Bootstrap 3.3.7 -->
<link rel="stylesheet" href="${ctxStatic}/static/css/bootstrap.min.css"/>
<link rel="stylesheet" href="${ctxStatic}/static/plugins/select2/select2.css"/>
<link rel="stylesheet" href="${ctxStatic}/static/plugins/select2/select2-bootstrap.css"/>
<!-- bootstrap-table 表格插件样式 -->
<link rel="stylesheet" href="${ctxStatic}/static/plugins/bootstrap-table/bootstrap-table.min.css?V=${config.getDvVersion()}"/>
<#--	<link rel="stylesheet" src="${ctxStatic}/statics/plugins/bootstrap-tooltip/bootstrap-tooltip-custom-class.css?V=${config.getDvVersion()}"/>-->
<!-- animate 样式-->
<link rel="stylesheet" href="${ctxStatic}/static/css/animate.css?V=${config.getDvVersion()}"/>
<#-- 皮肤样式 -->
<#--<link rel="stylesheet" href="${ctxStatic}/static/css/all-skins.css?V=${config.getDvVersion()}">-->
<link rel="stylesheet" href="${ctxStatic}/static/css/all-skins.min.css?V=${config.getDvVersion()}">
<#-- iCheck -->
<link rel="stylesheet" href="${ctxStatic}/static/css/iCheck/all.css?V=${config.getDvVersion()}">
<#--  layui-->
<link rel="stylesheet" href="${ctxStatic}/static/plugins/layui/css/layui.css?V=${config.getDvVersion()}"/>
<#nested>
<link rel="stylesheet" href="${ctxStatic}/static/css/style.css?V=${config.getDvVersion()}">
<#--<link rel="stylesheet" href="${ctxStatic}/static/js/fast-ui.min.css?V=${config.getDvVersion()}"/>-->
<link rel="stylesheet" href="${ctxStatic}/static/js/fast-ui.css?V=${config.getDvVersion()}"/>
<link rel="shortcut icon" href="${ctxStatic}/static/img/favicon.ico">
<#-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<#-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<#-- Vue单页面刷新闪烁标签{{}}问题解决-->
<style>
    [v-cloak]{display:none !important;}
</style>
</head>
</#macro>

<#--需要表格页面 如果fromId 为"" 则不要搜索框-->
<#macro search fromId class="form-inline">
<body class="gray-bg sidebar-mini ${config.getKey('SYS_INDEX_SKINNAME','skin-blue')}">
<div class="container-div animated fadeInRight" id="_app">
<div class="row">
		<#if fromId!="">
            <div class="col-sm-12 search-collapse">
                <form id="${fromId}" class="${class}">
                    <#nested>
                </form>
            </div>
		</#if>
</#macro>

<#--弹出窗口添加修改宏-->
<#macro addorEdit fromId>
<body class="white-bg sidebar-mini ${config.getKey('SYS_INDEX_SKINNAME','skin-blue')}">
    <div class="row">
        <div class="wrapper wrapper-content animated fadeInRight ibox-content" id="_app">
            <form class="form-horizontal" id="${fromId}">
                <#nested>
            </form>
</#macro>

<#--单独表格表格搜索 -->
<#macro tableSearch fromId>
        <div class="col-sm-12 search-collapse">
            <form id="${fromId}">
                <#nested>
            </form>
        </div>
</#macro>

<#--表格宏-->
<#macro table tableId>
		<div class="btn-group-sm" id="toolbar" role="group">
			<#nested>
		</div>
		<div class="col-sm-12 select-table table-striped">
			<table id="${tableId}"></table>
		</div>
</#macro>



<#--页面公共尾部-->
<#macro footer>
</div>
</div>
<a id="scroll-up" href="#" class="btn btn-sm display"><i class="fa fa-angle-double-up"></i></a>
<script> var baseURL = "${ctxStatic}/", _lang = "${config.getSysLang()}",  _username = "<@shiro.principal property="username"/>"  ,
 LockScreen = ${config.getKey('SYS_LOCK_SCEREEN')}</script>
<#-- i18n 国际化参数 -->
<!-- <script src="${ctxStatic}/statics/js/i18n/lixin_${config.getSysLang()}.js"></script> -->
<#-- Bootstrap 3.3.7 -->
<#--<script src="${ctxStatic}/statics/libs/bootstrap.min.js"></script>-->
<script src="${ctxStatic}/static/libs/bootstrap.js?V=${config.getDvVersion()}"></script>
<script src="${ctxStatic}/static/plugins/select2/select2.js?V=${config.getDvVersion()}"></script>
<#--全局遮罩-->
<script src="${ctxStatic}/static/plugins/blockUI/jquery.blockUI.js?V=${config.getDvVersion()}"></script>
<#--bootstrap-table 表格插件-->
<#--<script src="${ctxStatic}/static/plugins/bootstrap-table/bootstrap-table.js?V=${config.getDvVersion()}"></script>-->
<script src="${ctxStatic}/static/plugins/bootstrap-table/bootstrap-table.min.js?V=${config.getDvVersion()}"></script>
<script src="${ctxStatic}/static/plugins/bootstrap-table/locale/bootstrap-table-i18n.js?V=${config.getDvVersion()}"></script>
<script src="${ctxStatic}/static/plugins/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js?V=${config.getDvVersion()}"></script>
<script src="${ctxStatic}/static/plugins/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.min.js?V=${config.getDvVersion()}"></script>
<script src="${ctxStatic}/static/plugins/bootstrap-table/extensions/columns/bootstrap-table-fixed-columns.js?V=${config.getDvVersion()}"></script>
<script src="${ctxStatic}/static/plugins/bootstrap-tooltip/bootstrap-tooltip-custom-class.js?V=${config.getDvVersion()}"></script>
<#-- bootstrap-treetable 表单树插件-->
<script src="${ctxStatic}/static/plugins/bootstrap-treetable/bootstrap-treetable.js?V=${config.getDvVersion()}"></script>
<#-- layui-->
<script src="${ctxStatic}/static/plugins/layer/layer.js"></script>
<script src="${ctxStatic}/static/plugins/layui/layui.js"></script>
<script src="${ctxStatic}/static/libs/jquery.i18n.properties.min.js"></script>
<script src="${ctxStatic}/static/plugins/iCheck/icheck.min.js"></script>
<#-- jquery-validate 表单验证插件 -->
<script src="${ctxStatic}/static/plugins/validate/jquery.validate.min.js"></script>
<script src="${ctxStatic}/static/plugins/validate/jquery.validate.extend.js"></script>
<#--<script src="${request.contextPath}/static/js/fastJS.js?V=${config.getDvVersion()}"></script>-->
<script src="${request.contextPath}/static/js/fastJS.min.js?V=${config.getDvVersion()}"></script>
<#--VUE-->
<script src="${ctxStatic}/static/libs/vue.min.js"></script>
<#nested>
</body>
</html>
</#macro>
 
<#import "jslibs1.html" as jsLibs>
<#import "csslibs1.html" as cssLibs>
<#import "/common/component/form.html" as f>